using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class examples_csharp_basicmap : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        GMap.GoogleKey = ConfigurationManager.AppSettings["MapKey"];
        if (!Page.IsPostBack) GMap.Center = new Reimers.Map.GoogleLatLng(54, 0);
        //Sets a script to run immediately after the map rendering script has been run.
        GMap.PostRenderScript = GMap.OpenInfoWindowHTML(GMap.Center, "Hello World");
    }
}
